package com.cy.dda.dao.mapper.cases;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.cy.dda.model.domain.cases.CasesCustomerContactInfo;

import tk.mybatis.mapper.common.BaseMapper;

/**
 * CasesCustomerContactInfo
 *
 * @author: tanyilin
 * @create: 2018年10月31日 下午2:00:02
 */
@Mapper
public interface CasesCustomerContactInfoMapper extends BaseMapper<CasesCustomerContactInfo> {

	/**
	 * 批量新增
	 * 
	 * @param casesCustomerContactInfoList
	 */
	void insertBatch(@Param("casesCustomerContactInfoList") List<CasesCustomerContactInfo> casesCustomerContactInfoList);
	
	/**
	 * 根据更新时间删除无效数据
	 * 
	 * @param casesId
	 * @param customerId
	 * @param updateTime
	 */
    void deleteByUpdateTime(@Param("casesId") Long casesId, @Param("customerId") Long customerId, @Param("updateTime") Date updateTime);

}
